package com.ruoyi.zhgd.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 沥青软化点试验仪业务对象 n_laboratory_asphalt_softening_point
 *
 * @author zyb
 * @date 2023-09-11
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class NLaboratoryAsphaltSofteningPointBo extends BaseEntity {

    /**
     * 主键
     */
    @NotBlank(message = "主键不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 设备id
     */
    @NotBlank(message = "设备id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String deviceId;

    /**
     * 数据标志FLAG
     */
    @NotBlank(message = "数据标志FLAG不能为空", groups = { AddGroup.class, EditGroup.class })
    private String flag;

    /**
     * 分
     */
    @NotNull(message = "分不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer min;

    /**
     * 秒
     */
    @NotNull(message = "秒不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer second;

    /**
     * 试件编号1
     */
    @NotNull(message = "试件编号1不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer num1;

    /**
     * 温度1
     */
    @NotNull(message = "温度1不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal temp1;

    /**
     * 试件编号2
     */
    @NotNull(message = "试件编号2不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer num2;

    /**
     * 温度2
     */
    @NotNull(message = "温度2不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal temp2;

    /**
     * 原始数据
     */
    @NotBlank(message = "原始数据不能为空", groups = { AddGroup.class, EditGroup.class })
    private String originalData;

    /**
     * 结果表id
     */
    @NotBlank(message = "结果表id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String resId;

    /**
     * 样品id
     */
    @NotBlank(message = "样品id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String sampleId;


}
